package cn.dzz.action;

import cn.dzz.pojo.User;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

/**
 * @author Echo42
 * @file Struts2
 * @create 2020年08月29日17:50
 */
public class ExpressionAction extends ActionSupport  {

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String execute() throws Exception {
        System.out.println(user);
        return super.execute();
    }
}
